﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ERPStore.Models
{
	[DataContract]
	public class ValidationException : Exception
	{
		public ValidationException()
		{

		}

		public ValidationException(IList<ERPStore.Models.BrokenRule> list)
		{
			this.List = list;
		}

		[DataMember]
		public IList<ERPStore.Models.BrokenRule> List { get; set; }
	}
}
